<?php
namespace app\sadmin\controller;
use think\Controller;
use think\Db;

class Course extends Controller
{
   public function index(){
       	$course=Db::name("course")->select();
       	$this->assign("course",$course);
       	return $this->fetch();
       }
      
}